home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 003a / cpuid3wk.zip / CPUID3.DIF < prev    next >
Text File  |  1993-05-24  |  3KB  |  96 lines

  1. When assembled with MASM 5.1 CPUID3.ASM gives seven severe errors, as follows:
  2.  
  3. Microsoft (R) Macro Assembler Version 5.10
  4. Copyright (C) Microsoft Corp 1981, 1988.  All rights reserved.
  5.  
  6. g:cpuid3.asm(180): error A2053: Jump out of range by 53 byte(s)
  7. g:cpuid3.asm(194): error A2053: Jump out of range by 35 byte(s)
  8. g:cpuid3.asm(383): error A2053: Jump out of range by 17 byte(s)
  9. g:cpuid3.asm(396): error A2053: Jump out of range by 157 byte(s)
  10. g:cpuid3.asm(409): error A2053: Jump out of range by 126 byte(s)
  11. g:cpuid3.asm(422): error A2053: Jump out of range by 95 byte(s)
  12. g:cpuid3.asm(454): error A2053: Jump out of range by 27 byte(s)
  13.  
  14.   49636 + 363112 Bytes symbol space free
  15.  
  16.       0 Warning Errors
  17.       7 Severe  Errors
  18.  
  19.  
  20. Following is a summary of the changes made to CPUID3.ASM by Wayne A. King to
  21. create CPUID3WK.ASM, eliminating these errors.
  22.  
  23. FC version 2.6 - Copyright (c) 1991 Mike Albert        Mon May 24 11:49:21 1993
  24. Options are: -c1 -ds5 -t8 
  25.  
  26. Compare files:
  27.    cpuid3.asm        19901   4-27-93  11:18p
  28.    cpuid3wk.asm      20696   5-24-93  11:45a
  29.  
  30. Inserted after line 34
  31.   >;       Date:  5/24/93
  32.   >;       Modified by Wayne A. King, CIS: 70022,2700  CRS: WAYNE KING, to
  33.   >;       eliminate 7 severe errors resulting from "Jump out of range"
  34.   >;       conditions when assembled with MASM 5.1. Conditional jumps must be
  35.   >;       SHORT for under-386 class machines. Reversed condition tests, adding
  36.   >;       labels as required, and replaced offending NEAR conditional jumps
  37.   >;       with unconditional JMPs.
  38.   >;       N.B. - Author of this change is not affiliated in ANY way with Intel.
  39.   >;
  40.  
  41. Changed line 180
  42.   >        je      end_get_cpuid   ; jump if CPU is 8086/8088
  43. To
  44.   >        jne     check_80286
  45.   >        jmp     end_get_cpuid   ; jump if CPU is 8086/8088
  46.  
  47. Changed line 194
  48.   >        jz      end_get_cpuid   ; if no bits set, CPU is 80286
  49. To
  50.   >        jnz     check_80386
  51.   >        jmp     end_get_cpuid   ; if no bits set, CPU is 80286
  52.  
  53. Changed lines 383-384
  54.   >        je      print_cpuid_data
  55.   >
  56. To
  57.   >        jne     print_init
  58.   >        jmp     print_cpuid_data
  59.   >
  60.   >print_init:
  61.  
  62. Changed line 396
  63.   >        je      end_print
  64. To
  65.   >        jne     print_86a
  66.   >        jmp     end_print
  67.   >
  68.   >print_86a:
  69.  
  70. Changed line 409
  71.   >        je      end_print
  72. To
  73.   >        jne     print_286a
  74.   >        jmp     end_print
  75.   >
  76.   >print_286a:
  77.  
  78. Changed line 422
  79.   >        je      end_print
  80. To
  81.   >        jne     print_386a
  82.   >        jmp     end_print
  83.   >
  84.   >print_386a:
  85.  
  86. Changed lines 454-455
  87.   >        jne     not_GenuineIntel
  88.   >
  89. To
  90.   >        je      is_GenuineIntel
  91.   >        jmp     not_GenuineIntel
  92.   >
  93.   >is_GenuineIntel:
  94.  
  95. Comparison complete
  96.